// 储存token
function setLocal (value, key = 'heimammToken') {
  window.localStorage.setItem(key, value)
}
// 获取token
function getLocal (key = 'heimammToken') {
  return window.localStorage.getItem(key)
}
// 删除token
function removeLocal (key = 'heimammToken') {
  window.localStorage.removeItem(key)
}

export { setLocal, getLocal, removeLocal }
